<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .container{
            display: grid;
            /*两行三列*/
           /* grid-template-columns: 100px 100px 200px;
            grid-template-rows: 100px 100px;*/

            /*grid-template-columns: 30% 30% auto;
            grid-template-rows: 100px auto;*/

            /*第一列占100px，剩下等分成两列*/
            grid-template-columns: 100px 1fr 1fr;
            grid-template-rows: 100px 1fr;
            border:2px solid #966;
        }
        .a{background-color: #ed6000}
        .b{background-color: #ed1250;}
        .c{background-color: gold}
        .d{background-color: aquamarine}
        .e{background-color: pink}
    </style>
</head>
<body>
<div class="container">
    <div class="a">a</div>
    <div class="b">b</div>
    <div class="c">c</div>
    <div class="d">d</div>
    <div class="e">e</div>
</div>

</body>
</html>